#ifndef ENDWIDGET_H
#define ENDWIDGET_H

#include <QWidget>
#include "serverwidget.h"

namespace Ui {
class EndWidget;
}

class EndWidget : public QWidget
{
    Q_OBJECT

public:
    explicit EndWidget(QWidget *parent = nullptr);
    ~EndWidget();

    Ui::EndWidget *ui;

private slots:


    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

private:
    QPoint m_lastPos;
    bool isPressedWidget;
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

};

#endif // ENDWIDGET_H
